﻿<?php if(!defined('IN_PHPSCUP'))exit('hacking');  ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<base href="{$site_url}/">
<title>{$page_title}</title>

<meta http-equiv="Content-Type" content="text/html; charset={$view_charset}" />
<meta http-equiv="pragma" content="no-cache" />
<link rel="shortcut icon" href="favicon.ico">
<meta name="keywords" content="{$page_keywords}" />
<meta name="Description" content="{$page_description}" />

<!--{css(dll.css)}-->
<!--{css(font.css)}-->
<!--{css(main.css)}-->
<!--{css(layout.css)}-->


<!--{js(png.js)}-->
<!--{js(more_sort.js)}-->
<!--{js(public.js)}-->
<!--{js(usefor_user.js)}-->
<!--{js(ajax.js)}-->
<!--{js(new_common.js)}-->
<!--{js(swfobject.js)}-->
<!--{js(domtab.js)}-->
<!--{js(temp_public.js)}-->



</head>
<body>
<div class="header">
<div class="mauto clearfix">
<div class="logo" id="com_logo" editok="online">
<a href="?"><img src="{SITE_URL}/{UPFILE_PATH}/{WEBLOGO}" alt="{$page_title}" onerror="this.src='{$bg_pic_url}images/logo.png'"  class="default_logo"  /></a>
</div>
<div class="top_nav">
<li><a href="#" target="_blank"><img src="{$bg_pic_url}images/rss2.gif" align="middle" /></a></li>
<li><a class = "chlnk" style =" cursor:hand" href onClick="this.style.behavior='url(#default#homepage)'; this.setHomePage('{$site_url}');">{$lang.set_home}</a></li>
<li><a href="javascript:window.external.AddFavorite('{$site_url}','{$page_title}')">{$lang.add_to_favorites}</a></li>
</div>
</div>

</div>
<div class="clear"></div>
<div class="i_nav mauto clearfix">
<div class="mainmenu" id="com_mainmenu" editok="online">
<div class="mainmenu_rtul">



                                 <?php $num = 1 ; ?>
								 <!--{foreach($navigation as $_key => $_value )}-->
                                 <!--{if ($_value.whree=='top' && $_value.parent_id=='0')}-->
<?php if ($num > 1 ) { ?>
<span class="split_memu"></span>
<?php } ?>								 
<span class="ulmainmenu_li" onmouseover="MM_showHideLayers_2('mmenu_{$num}','mmenu_','show','13')" onmouseout="MM_showHideLayers('mmenu_{$num}','','hide')" >
<a <!--{if ( strstr(WEB_URL,$_value.link) )}--> class="activemenu" <!--{else}--> class="mainmenu_a" <!--{/if}--> href="{$_value.link}" target="{$_value.config.target}" id="menua_{$num}" >{$_value.name}</a>
<div id="mmenu_{$num}" onmouseover="MM_showHideLayers_2('mmenu_{$num}','mmenu_','show','13')" onmouseout="MM_showHideLayers('mmenu_{$num}','','hide')" class="sub_mainmenudiv" style="visibility: hidden;">
<div>

								      <!--{foreach($navigation as $_key1 => $_value1 )}-->
                                      <!--{if ($_value1.whree=='top' && $_value1.parent_id==$_value.nav_id)}-->
<span>
<a class="other_amenu" href="{$_value1.link}">{$_value1.name}</a>
</span>
                                      <!--{/if}-->
                                      <!--{/foreach}--> 

</div>
</div>
</span>
 
                                 <?php $num ++ ; ?>
                                 <!--{/if}-->
                                 <!--{/foreach}-->    

</div>
</div>
</div>
<div class="clear"></div>
<div class="p_container clearfix">
<div class="p_banner mauto" id="com_thenm_banner" editok="online">
<script language="javascript">
                        var the_focuswidth = 900;
                        var the_focusheight = 288;
                        var the_textheight = 0;
                        
                        var swf_height=the_focusheight + the_textheight;
                        var the_pics="";
                        var the_links="";
                        var the_texts="";
                        var the_imgurl=new Array();
                        var the_imglink=new Array();
                        var the_imgtext=new Array();
                        
                        
 <?php $num = 1; ?>   
 <!--{foreach($pic_data as $_key => $_value )}-->
<!--{if($_value.status)}-->                
                
                the_imgurl[{$num}]="{$_value.images_url|picdir}";
                the_imglink[{$num}]=escape("{$_value.images_link}");
                the_imgtext[{$num}]="{$_value.images_alt}";
<?php $num ++ ; ?>
<!--{/if}-->      
    
<!--{/foreach}-->    
                        
                        for(var i=1; i<the_imgurl.length; i++){
                            the_pics=the_pics+("|"+the_imgurl[i]);
                            the_links=the_links+("|"+the_imglink[i]);
                            the_texts=the_texts+("|"+the_imgtext[i]);
                        }
                        the_pics=the_pics.substring(1);
                        the_links=the_links.substring(1);
                        the_texts=the_texts.substring(1);
    
                        function focus_bannershow(the_src, the_width, the_height) 
                        {
                            var the_newwidth,the_newheight;
                            the_newwidth=the_width+2;	//去掉边框
                            the_newheight=the_height+2;	//去掉边框
                            //the_newwidth=the_width-1;	//有存在边框
                            //the_newheight=the_height-1;	//有存在边框
                            the_src = the_src.replace(" ", "");
                            if(/\.swf$/gi.test(the_src) == true)
                            {
                                document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=4,0,2,0" height="' + the_height + '" width="' + the_width + '"><param name="movie" value="' + the_src + '" /><param name="quality" value="high" /><param name="wmode" value="opaque" /><param name="FlashVars" value="pics=' + the_pics + '&amp;links=' + the_links + '&amp;texts=' + the_texts + '&amp;borderwidth=' + the_newwidth + '&amp;borderheight=' + the_newheight + '&amp;textheight=' + the_textheight + '" /><embed src="' + the_src + '" quality="high" width="' + the_width + '" height="' + the_height + '" wmode="opaque" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" FlashVars="pics=' + the_pics + '&amp;links=' + the_links + '&amp;texts=' + the_texts + '&amp;borderwidth=' + the_newwidth + '&amp;borderheight=' + the_newheight + '&amp;textheight=' + the_textheight + '"></embed></object>');
                            }
                            else
                            {
                                document.write('<img src="' + the_src + '" height="' + the_height + '" width="' + the_width + '" style="border:0px;" />');
                            }
                        }
                        focus_bannershow('{$bg_pic_url}flash/images_focus1.swf', the_focuswidth, the_focusheight);
                        </script>
</div>
<div class="p_left">
<div class="leftlist" id="com_thenm_sort" editok="online">
<h1> 新闻分类 </h1>

<ul class="ullist_sortnav">
<li class="p_s_li0">
<a href="news.htm?sortid=0_1" class="p_s_li0_a">公司动态</a>
</li>
<li class="p_s_li0">
<a href="news.htm?sortid=0_2" class="p_s_li0_a">行业资讯</a>
</li>
</ul>
</div>
<div class="left_link" id="com_singles_about" editok="online">
<h1>
<a href="contact.htm">联系我们</a>
</h1>
<div class="p_tpng"><img src="{$bg_pic_url}images/t.png" /></div>

<h2><FONT face=宋体><FONT face=宋体><FONT face=宋体>
<TABLE width="100%" border=0 heihgt="">
<TBODY>
<TR>
<TD width="40%">公司名称：</TD>
<TD>魔方烹饪联合会 </TD></TR>
<TR>
<TD>联系人：</TD>
<TD>胡先生</TD></TR>
<TR>
<TD>电 话：</TD>
<TD>1111-0000000</TD></TR>

<TR>
<TD>Q Q：</TD>
<TD>1111111</TD></TR>
<TR>
<TD>联系地址：</TD>
<TD>东城区开发区55号</TD></TR></TBODY></TABLE></FONT></FONT></FONT></h2>
<img src="{$bg_pic_url}images/b.png" />
</div>
<div class="edit_nullmodule" id="com_definedkeys_1" editok="online"></div>
</div>
<div class="p_nm234">
<div class="edit_nullmodule" id="com_definedkeys_2" editok="online"></div>
<div class="p_rig">

<dl class="p_r_t">
<dt>
<div id="com_pmodule_news_list" editok="online"> 所有新闻 </div>
</dt>
<dd> 当前位置 ：<a href="?" class="position_aclass"> 首页 </a>&gt; <a id="position_nowtitle">新闻中心</a></dd>
</dl>
<div class="p_plist" id="com_thenm_list" editok="online">
<div id="statusid" class="xweb-ajaxmsg"></div>


<div class="xweb-ajaxdiv" id="xweb-ajax-div" style="display: block; left: 840px; top: 359.5px;">

<ul class="p_n_list">

            <!--{foreach($lw_data as $_key => $_value )}--> 
            <!--{if ($_value.title!='')}-->
<li>
<a href="<!--{if (SYSTEM_URL_HTML_REWRITE)}--><!--{urlhtml ('new&$_value.id')}--><!--{else}--><!--{url ('?app=new&act=show&id=$_value.id')}--><!--{/if}-->">{$_value.title|cutstr:40}</a>
<span>（ {$_value.add_time|dateymd} ）</span>
</li>            

            <!--{/if}--> 
            <!--{/foreach}-->



</ul>

<!-- 开始分页模块内容 -->
<div class="navPage pagebar">
<ul>
<li>
<a title="第一页" href="{$lw_page.head}" >|&lt;</a>
</li>
<li>
<a href="{$lw_page.up}" title="上一页">&lt;&lt;</a>
</li>
<li>
<a class="pagebarCurrent" title="">{$lw_page.curr.num}</a>
</li>
<li>
<a href="{$lw_page.down}" title="下一页">&gt;&gt;</a>
</li>
<li>
<a title="最后一页" href="{$lw_page.foot}">&gt;|</a>
</li>
</ul>
</div>

</div>



</div>
<div>
<img src="{$bg_pic_url}images/bottom.png" />
</div>
</div>
<div class="clear"></div>
<div class="edit_nullmodule" id="com_definedkeys_3" editok="online"></div>
<div class="edit_nullmodule" id="com_definedkeys_4" editok="online"></div>
</div>
</div>
<div class="clear"></div>
<div class="p_footer clearfix">
<div id="com_othermenu" editok="online">
					             <!--{foreach($navigation as $_key => $_value )}-->
                                <!--{if ($_value.whree=='bottom' && $_value.parent_id=='0')}-->
                                <a href="{$_value.link}" target="{$_value.config.target}" class="othermenu_a">{$_value.name}</a> | 
                                <!--{/if}-->
                                 <!--{/foreach}--> 
</div>
<span id="com_copyright" editok="online"><FONT face=宋体><FONT face=宋体>魔方食品有限公司</FONT>&nbsp;&nbsp;&nbsp;技术支持：XXXX有限公司</FONT><script type="text/javascript" language="javascript">changeNoImage();</script>
</span>
<span id="com_webcounter" editok="online"> 
		</span>
<div class="m_background" id="com_rotationbg" editok="online">

</div>
<script type="text/javascript">
            var bg_obj="main_container";
            var theimgs=new Array();
            var bg_type=0;	//0表示背景图片，1表示背景颜色
            var rotation_time=6000;	//表示背景轮换的间隔时间
            
            if(window.attachEvent)
            {
                window.attachEvent('onload',auto_chgbg);
            }
            else if(window.addEventListener)
            {
                window.addEventListener('load',auto_chgbg,false);
            }
            </script>
<div class="mtop"></div>
</div>



</body>
</html>